<!DOCTYPE html>

<html xmlns:th="https://www.thymeleaf.org" th:replace="~{fragments/layout :: layout (~{::body},'error')}">

<body>
<img src="../static/resources/images/pets.png" th:src="@{/resources/images/pets.png}"/>
<!--    <img src="resources/images/pets.png" th:src="@{resources/images/pets.png}"/>-->
<h2>出错了，请检查...</h2>
<p th:text="${message}">错误信息</p>
</body>

</html>